package com.example.entity.order;

import java.util.Date;

public class Order {
    private Integer orderId; //订单ID
    private String UID; //用户UID
    private Integer id; //用户ID
    private String itemId; //商品ID
    private Integer Quantity; //商品数量
    private String  orderStatus; //订单状态
    private Double totalAmount; //商品总价
    private Date  createdAt; //创建时间
    private String trackingNumber; //订单编号
    private String Address;//地址

    @Override
    public String toString() {
        return "Order{" +
                "orderId=" + orderId +
                ", UID='" + UID + '\'' +
                ", id=" + id +
                ", itemId='" + itemId + '\'' +
                ", Quantity=" + Quantity +
                ", orderStatus='" + orderStatus + '\'' +
                ", totalAmount=" + totalAmount +
                ", createdAt=" + createdAt +
                ", trackingNumber='" + trackingNumber + '\'' +
                ", Address='" + Address + '\'' +
                '}';
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getUID() {
        return UID;
    }

    public void setUID(String UID) {
        this.UID = UID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public Integer getQuantity() {
        return Quantity;
    }

    public void setQuantity(Integer quantity) {
        Quantity = quantity;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public String getTrackingNumber() {
        return trackingNumber;
    }

    public void setTrackingNumber(String trackingNumber) {
        this.trackingNumber = trackingNumber;
    }

    public String getAddress() {
        return Address;
    }

    public void setAddress(String address) {
        Address = address;
    }
}
